<!DOCTYPE html>
<a href="#target">
    <div id="link" style="width: 200px; height: 200px; border: 1px solid blue"></div>
</a>
<input type="text" id="input"></input>
<div style="height: 1200px"></div>
<div id="target">Target</div>
